﻿using System.Collections.Generic;

namespace TestProject.ModelClasses
{
    public class Node
    {
        public Node()
        {
            ChildNodes = new HashSet<Node>();
            Pairs = new HashSet<PairItem>();
        }

        public override string ToString()
        {
            return Name + " (" + Level + ")";
        }


        public string Name { get; set; }
        public HashSet<Node> ChildNodes { get; set; }
        public HashSet<PairItem> Pairs { get; set; }

        
        public int Level { get; set; }
    }
}